export default {
  methods: {
    buttonVali(btnName) {
      const optis = this.$store.state.user.userInfo.roles
      return optis && optis.points.indexOf(btnName) !== -1
    }
  }
}
